#include"huffman_built.h"
#include"printtree.h"
#include<stdlib.h>

char arr1[27] = { ' ','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z' };
int arr[27] = { 186,64,13,22,32,103,21,15,47,57,1,5,32,20,57,63,15,1,48,51,80,23,8,18,1,16,1 };
int n;
HNode root;


int main()
{
	n = 27;
	root = builtHuffman(n, arr, arr1);
	showtree(root);


	return 0;
}